public class TestStar02 {
	public static void main(String[] args) {
		int layer = 15;
		for(int i=1;i<=layer;i++) {
			int spaceNum = layer-i;
			int starNum = 2*i-1;
			for(int j=0;j<spaceNum;j++) {
				System.out.print(" ");
			}
			for(int j=0;j<starNum;j++) {
				System.out.print("*");
			}
			System.out.println();
		}
		for(int i=1;i<=layer-1;i++) {
			int spaceNum = i;
			int starNum = (2*layer-1)-(2*i);
			for(int j=0;j<spaceNum;j++) {
				System.out.print(" ");
			}
			for(int j=0;j<starNum;j++) {
				System.out.print("*");
			}
			System.out.println();
		}
	}
}